<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>提醒设置 - 喝水小管家</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background-color: #f8fafc;
        }
        .status-bar {
            background-color: #000;
            color: white;
            padding: 5px 15px;
            display: flex;
            justify-content: space-between;
            font-size: 12px;
        }
        .nav-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: white;
            border-top: 1px solid #e2e8f0;
            display: flex;
            justify-content: space-around;
            padding: 10px 0;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
        }
        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #64748b;
            font-size: 10px;
        }
        .nav-item.active {
            color: #3b82f6;
        }
        .nav-icon {
            font-size: 22px;
            margin-bottom: 3px;
        }
        .section-header {
            font-size: 14px;
            color: #64748b;
            margin-bottom: 8px;
            font-weight: 600;
        }
        .time-selector {
            display: flex;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            padding-bottom: 10px;
        }
        .time-chip {
            padding: 8px 16px;
            background-color: white;
            border-radius: 20px;
            margin-right: 8px;
            font-size: 13px;
            color: #64748b;
            white-space: nowrap;
        }
        .time-chip.active {
            background-color: #3b82f6;
            color: white;
        }
        .day-selector {
            display: flex;
            justify-content: space-between;
            margin-bottom: 20px;
        }
        .day-chip {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: #64748b;
        }
        .day-chip.active {
            background-color: #3b82f6;
            color: white;
        }
        .slider {
            -webkit-appearance: none;
            height: 8px;
            border-radius: 4px;
            background: #e2e8f0;
            outline: none;
            margin: 15px 0;
        }
        .slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #3b82f6;
            cursor: pointer;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }
    </style>
</head>
<body>
    <!-- 状态栏 -->
    <div class="status-bar">
        <span>9:41</span>
        <div>
            <span class="mr-1"><i class="fas fa-signal"></i></span>
            <span class="mr-1"><i class="fas fa-wifi"></i></span>
            <span><i class="fas fa-battery-full"></i></span>
        </div>
    </div>

    <!-- 内容区域 -->
    <div class="px-4 pt-3 pb-20">
        <!-- 顶部导航 -->
        <div class="flex items-center py-2 mb-2">
            <button class="mr-3"><i class="fas fa-arrow-left text-gray-700"></i></button>
            <h1 class="text-xl font-bold text-gray-800">提醒设置</h1>
        </div>
        
        <!-- 提醒总开关 -->
        <div class="bg-white rounded-2xl shadow-sm p-4 mb-5">
            <div class="flex justify-between items-center">
                <div class="flex items-center">
                    <div class="w-10 h-10 bg-blue-100 rounded-full flex items-center justify-center mr-3">
                        <i class="fas fa-bell text-blue-500"></i>
                    </div>
                    <div>
                        <div class="text-base font-medium text-gray-800">饮水提醒</div>
                        <div class="text-xs text-gray-500">开启后将按设定时间提醒您喝水</div>
                    </div>
                </div>
                <label class="relative inline-flex items-center cursor-pointer">
                    <input type="checkbox" value="" class="sr-only peer" checked>
                    <div class="w-11 h-6 bg-gray-200 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-blue-500"></div>
                </label>
            </div>
        </div>
        
        <!-- 提醒时间段 -->
        <div class="section-header">提醒时间段</div>
        <div class="bg-white rounded-2xl shadow-sm p-4 mb-5">
            <div class="flex justify-between items-center mb-3">
                <div class="font-medium text-gray-800">开始提醒时间</div>
                <div class="text-blue-500">08:00</div>
            </div>
            <div class="flex justify-between items-center">
                <div class="font-medium text-gray-800">结束提醒时间</div>
                <div class="text-blue-500">22:00</div>
            </div>
        </div>
        
        <!-- 提醒频率 -->
        <div class="section-header">提醒频率</div>
        <div class="bg-white rounded-2xl shadow-sm p-4 mb-5">
            <div class="flex justify-between items-center mb-3">
                <div class="font-medium text-gray-800">间隔时间</div>
                <div class="text-blue-500">2小时</div>
            </div>
            <div class="time-selector">
                <div class="time-chip">30分钟</div>
                <div class="time-chip">1小时</div>
                <div class="time-chip active">2小时</div>
                <div class="time-chip">3小时</div>
                <div class="time-chip">4小时</div>
                <div class="time-chip">自定义</div>
            </div>
        </div>
        
        <!-- 重复日期 -->
        <div class="section-header">重复日期</div>
        <div class="bg-white rounded-2xl shadow-sm p-4 mb-5">
            <div class="day-selector">
                <div class="day-chip active">一</div>
                <div class="day-chip active">二</div>
                <div class="day-chip active">三</div>
                <div class="day-chip active">四</div>
                <div class="day-chip active">五</div>
                <div class="day-chip">六</div>
                <div class="day-chip">日</div>
            </div>
            <div class="text-xs text-gray-500 text-center">已选择工作日提醒</div>
        </div>
        
        <!-- 通知方式 -->
        <div class="section-header">通知方式</div>
        <div class="bg-white rounded-2xl shadow-sm p-4 mb-5">
            <div class="flex justify-between items-center py-2 border-b border-gray-100">
                <div class="font-medium text-gray-800">微信通知</div>
                <label class="relative inline-flex items-center cursor-pointer">
                    <input type="checkbox" value="" class="sr-only peer" checked>
                    <div class="w-9 h-5 bg-gray-200 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-blue-500"></div>
                </label>
            </div>
            <div class="flex justify-between items-center py-2 border-b border-gray-100">
                <div class="font-medium text-gray-800">声音提示</div>
                <label class="relative inline-flex items-center cursor-pointer">
                    <input type="checkbox" value="" class="sr-only peer" checked>
                    <div class="w-9 h-5 bg-gray-200 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-blue-500"></div>
                </label>
            </div>
            <div class="flex justify-between items-center py-2">
                <div class="font-medium text-gray-800">震动提示</div>
                <label class="relative inline-flex items-center cursor-pointer">
                    <input type="checkbox" value="" class="sr-only peer">
                    <div class="w-9 h-5 bg-gray-200 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-blue-500"></div>
                </label>
            </div>
        </div>
        
        <!-- 智能提醒 -->
        <div class="section-header">智能提醒</div>
        <div class="bg-white rounded-2xl shadow-sm p-4 mb-5">
            <div class="flex justify-between items-center mb-3">
                <div>
                    <div class="font-medium text-gray-800">根据活动量调整</div>
                    <div class="text-xs text-gray-500 mt-1">根据您的日常活动量智能调整提醒频率</div>
                </div>
                <label class="relative inline-flex items-center cursor-pointer">
                    <input type="checkbox" value="" class="sr-only peer" checked>
                    <div class="w-9 h-5 bg-gray-200 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-blue-500"></div>
                </label>
            </div>
            <div class="flex justify-between items-center">
                <div>
                    <div class="font-medium text-gray-800">天气因素</div>
                    <div class="text-xs text-gray-500 mt-1">炎热天气会增加提醒频率</div>
                </div>
                <label class="relative inline-flex items-center cursor-pointer">
                    <input type="checkbox" value="" class="sr-only peer" checked>
                    <div class="w-9 h-5 bg-gray-200 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-blue-500"></div>
                </label>
            </div>
        </div>
        
        <!-- 保存按钮 -->
        <button class="w-full bg-blue-500 text-white font-medium py-3 rounded-xl shadow-md mb-8">保存设置</button>
    </div>
    
    <!-- 底部导航 -->
    <div class="nav-bar">
        <div class="nav-item">
            <div class="nav-icon"><i class="fas fa-home"></i></div>
            <span>首页</span>
        </div>
        <div class="nav-item">
            <div class="nav-icon"><i class="fas fa-list"></i></div>
            <span>记录</span>
        </div>
        <div class="nav-item">
            <div class="nav-icon"><i class="fas fa-chart-bar"></i></div>
            <span>统计</span>
        </div>
        <div class="nav-item active">
            <div class="nav-icon"><i class="fas fa-user"></i></div>
            <span>我的</span>
        </div>
    </div>
</body>
</html> 